﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImportEmails.aspx.cs" Inherits="SurveyTracker.admin.ImportEmails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
   
      <h2>Update Mailing Lists</h2>
      
      <br />
      <asp:FileUpload ID="fileUpload" runat="server" />
      
      <asp:DropDownList ID="lstMailingLists" runat="server" AutoPostBack="True" 
        onselectedindexchanged="GridView1_SelectedIndexChanged">
      </asp:DropDownList>
      <br />
      <asp:Button ID="btnUploadEmails" runat="server" Text="Upload CSV*" Height="26px" 
        Width="114px" />
      <br />
      <br />
      <br />
      <asp:GridView ID="grdEmailInformation" runat="server" 
      onselectedindexchanged="GridView1_SelectedIndexChanged" BackColor="White" 
        BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
        ForeColor="Black" GridLines="Vertical">
        <RowStyle BackColor="#F7F7DE" />
        <Columns>
          <asp:CommandField ShowEditButton="True" />
        </Columns>
        <FooterStyle BackColor="#CCCC99" />
        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    </form>
    <p>
      * Note: CSV File must have one column with one email address per line.</p>  
    </div>

</body>
</html>
